package Day01;

import java.awt.*;
import java.awt.event.KeyEvent;

public class client3 {
    public static void main(String[] args) throws AWTException, InterruptedException {
        Thread.sleep(5000);
//        帮我带个饭
        Robot xiaote = new Robot();
        for(int i=1;i<=10;i++){
            xiaote.keyPress(KeyEvent.VK_CONTROL);
            xiaote.keyPress(KeyEvent.VK_V);
            xiaote.keyRelease(KeyEvent.VK_CONTROL);
            xiaote.keyRelease(KeyEvent.VK_V);
            Thread.sleep(1000);
            xiaote.keyPress(KeyEvent.VK_ENTER);
            xiaote.keyRelease(KeyEvent.VK_ENTER);
        }
    }
}
